package lt.vin.currency.client.service;

import java.util.List;

import lt.vin.currency.shared.Source;
import lt.vin.currency.shared.TestResult;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("currency")
public interface CurrencyService extends RemoteService {
	
	List<Source> getSources();
	
	TestResult testSource(Source source);
	
	void saveSource(Source source);
	
	List<String> getAvailableCurrencies();
	
}
